<template>
	<view>
		<hx-navbar ref="hxnb" :config="config" />
		<view class="balance" style="padding:30rpx">
			<view class="payout">
				<h4>提现到</h4>
				<view class="flex" style="align-items: center;justify-content: space-between;">
					<view class="flex BankAmericard">
						<image style="width:76rpx;height:76rpx;" src="../../../static/me/7976.png" mode=""></image>
						<text>中国建设银行</text>
						<text style="color: rgba(30,30,30,0.3);margin-right: 46rpx;">****6987</text>
					</view>
					<view class="replacement" @tap="taggle()">
						更换
					</view>
				</view>
				<h4>提现金额</h4>
				<view class="payoutNumber flex">
					<text style=" align-self: flex-end;">￥</text> <input type="number">
				</view>
				<view class="flex" style="margin-top: 22rpx;justify-content: space-between;">
					<view>可提现 <text
							style="font-family: Rubik-Regular, Rubik;font-size: 28rpx;margin-left: 32rpx;">￥18654.65</text>
					</view>
					<view class="payout_o">全部提现</view>
				</view>
			</view>
			<view class="Comment">
				*体现服务费为每笔1元，单笔金额最小为100元
			</view>
		</view>
		<!-- 支付弹窗 -->
		<uni-popup id="popup" ref="popup" type="bottom" :animation="true">
			<scroll-view scroll-y="true" style="padding: 0 30rpx 30rpx 30rpx;background-color: #fff;height: 752rpx;">
				<view class="flex">
					<view class="">

					</view>

				</view>
			</scroll-view>
		</uni-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				config: {
					title: '',
					color: '#111111',
					backgroundColor: [1, ''],
					border: true,
					// #ifdef H5
					backPage: '',
					// #endif
				},
			}
		},
		methods: {
			taggle() {
				this.$refs.popup.open()
				// this.$refs.popup.close()
			},
			goBack() {
				uni.navigateBack()
			},
		}
	}
</script>

<style scoped>
	.Comment {
		font-size: 28rpx;
		font-family: Noto Sans SC-Regular, Noto Sans SC;
		font-weight: 400;
		color: rgba(30, 30, 30, 0.3);
		margin-top: 20rpx;
	}

	.payout_o {
		font-size: 32rpx;
		color: #492D22;
		border-bottom: 1rpx solid #492D22;
	}

	.payoutNumber input {
		font-size: 82rpx;
		font-family: Rubik-Regular, Rubik;
		font-weight: 400;
		color: #1E1E1E;
		margin-left: 20rpx;
	}

	.payoutNumber {
		padding: 30rpx;
		border-bottom: 1rpx solid rgba(30, 30, 30, 0.1);
		font-size: 36rpx;
		font-family: Rubik-Medium, Rubik;
		font-weight: 500;
		color: #1E1E1E;
	}

	.BankAmericard {
		width: 536rpx;
		padding: 18rpx;
		height: 112rpx;
		margin: 30rpx 0;
		background: rgba(30, 30, 30, 0.05);
		border-radius: 8rpx;
		justify-content: space-between;
		align-items: center;
	}

	.replacement {
		font-size: 32rpx;
		font-family: Noto Sans SC-Regular, Noto Sans SC;
		font-weight: 400;
		color: #167EC1;
	}

	.payout {
		width: 690rpx;
		height: 556rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		padding: 30rpx;
	}
</style>
